
<!doctype html> 
<!-- The DOCTYPE declaration above will set the    --> 
<!-- browser's rendering engine into               --> 
<!-- "Standards Mode". Replacing this declaration  --> 
<!-- with a "Quirks Mode" doctype may lead to some --> 
<!-- differences in layout.                        --> 
 
<html> 
 <head> 
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> 
    <meta name="viewport" content="width=device-width, user-scalable=0, initial-scale=1"/> 
    <!--                                                               --> 
    <!-- Consider inlining CSS to reduce the number of requested files --> 
    <!--                                                               --> 
  
   
    <!--                                           --> 
    <!-- Any title is fine                         --> 
    <!--                                           --> 
    <title>GeoGebra to JavaScript port</title> 
    
    <!--                                           --> 
    <!-- This script loads your compiled module.   --> 
    <!-- If you add any GWT meta tags, they must   --> 
    <!-- be added before this line.                --> 
    <!--                                           --> 
    <script type="text/javascript" language="javascript" src="http://www.geogebra.org/mobile/4.2/geogebramobile/geogebramobile.nocache.js"></script> 
  </head> 
 
  <!--                                           --> 
  <!-- The body can have arbitrary html, or      --> 
  <!-- you can leave the body empty if you want  --> 
  <!-- to create a completely dynamic UI.        --> 
  <!--                                           --> 
  <body> 
<table style="width: 660px;" border="0" cellpadding="2" cellspacing="2"> 
 
  <tbody> 
 
    <tr> 
 
      <td> 
	
<!--<script type="text/javascript" language="javascript" src="http://www.geogebra.org/mobile/4.2/geogebramobile/geogebramobile.nocache.js"></script>--> 
<div id="geogebramobile_div" class="ggbApplet" style="width: 905px; height: 491px; border: 1px solid black;"> 
<span id="ggbBase64" style="display: none;">UEsDBBQACAAIAN2raD0AAAAAAAAAAAAAAAAWAAAAZ2VvZ2VicmFfamF2YXNjcmlwdC5qc0srzUsuyczPU0hPT/LP88zLLNHQVKiuBQBQSwcI1je9uRkAAAAXAAAAUEsDBBQACAAIAN2raD0AAAAAAAAAAAAAAAAMAAAAZ2VvZ2VicmEueG1stVZLb+M2ED5nf8VAZ8cWH5LlwM5im0NbINlL2sWiNz0YmY0sqiL9WuyP3xlScuy0WbRYFLBMUpznN9+QWr4/bBrYqd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vWLr8ln1rWoCJ1vkxdZsLezy5iLaSpV6g8uwMVaJav87RhneVqru1Zhd4z8EAvR+94L3r14vZ2MQFIPFhEo69TBpRwn/3OcV3cKY5NatDdb7QT9jylXucDeiDmzUBgXAeaJR0U9APvn7ngADU/yJvfsK6LMkcf9v1EyYJxQNedOt84Bu4FZ+VP1Fct7kg6kuU85bhM7ng93ekQGqYKdUKL4bmgM6NOh76ywkD5eFwyq6llTV4/D19gUjPMVx4rhbI0vwy8T62+1kmCa/6KpS/h4Jh8BfbVCxgVPq0DW61G6gSICTpuf18Cfe8Il3+w1QSwcIew3pIVgEAABUCgAAUEsBAhQAFAAIAAgA3atoPdY3vbkZAAAAFwAAABYAAAAAAAAAAAAAAAAAAAAAAGdlb2dlYnJhX2phdmFzY3JpcHQuanNQSwECFAAUAAgACADdq2g9ew3pIVgEAABUCgAADAAAAAAAAAAAAAAAAABdAAAAZ2VvZ2VicmEueG1sUEsFBgAAAAACAAIAfgAAAO8EAAAAAA==</span></div> 
<noscript id="ggbappletwrapper"> </noscript> 
<applet name="javaApplet" code="geogebra.GeoGebraApplet" archive="geogebra.jar"
	codebase="http://www.geogebra.org/webstart/4.2/unsigned/"
	width="905" height="491">
	<param name="ggbBase64" value="UEsDBBQACAAIAN2raD0AAAAAAAAAAAAAAAAWAAAAZ2VvZ2VicmFfamF2YXNjcmlwdC5qc0srzUsuyczPU0hPT/LP88zLLNHQVKiuBQBQSwcI1je9uRkAAAAXAAAAUEsDBBQACAAIAN2raD0AAAAAAAAAAAAAAAAMAAAAZ2VvZ2VicmEueG1stVZLb+M2ED5nf8VAZ8cWH5LlwM5im0NbINlL2sWiNz0YmY0sqiL9WuyP3xlScuy0WbRYFLBMUpznN9+QWr4/bBrYqd5q064iNo0jUG1pKt3Wq2jrnq6z6P3tu2WtTK2KPocn029yt4rEVERwsPqmNR/zjbJdXqrHcq02+b0pc+etrZ3rbmaz/X4/HfWnpq9ndV1MD7ZC/U3T2lU0TG7Q3IXSXnhxHsds9v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ngADU/yJvfsK6LMkcf9v1EyYJxQNedOt84Bu4FZ+VP1Fct7kg6kuU85bhM7ng93ekQGqYKdUKL4bmgM6NOh76ywkD5eFwyq6llTV4/D19gUjPMVx4rhbI0vwy8T62+1kmCa/6KpS/h4Jh8BfbVCxgVPq0DW61G6gSICTpuf18Cfe8Il3+w1QSwcIew3pIVgEAABUCgAAUEsBAhQAFAAIAAgA3atoPdY3vbkZAAAAFwAAABYAAAAAAAAAAAAAAAAAAAAAAGdlb2dlYnJhX2phdmFzY3JpcHQuanNQSwECFAAUAAgACADdq2g9ew3pIVgEAABUCgAADAAAAAAAAAAAAAAAAABdAAAAZ2VvZ2VicmEueG1sUEsFBgAAAAACAAIAfgAAAO8EAAAAAA=="/>
	<param name="image" value="http://www.geogebra.org/webstart/loading.gif"  />
	<param name="boxborder" value="false"  />
	<param name="centerimage" value="true"  />
	<param name="java_arguments" value="-Xmx512m -Djnlp.packEnabled=true" />
	<param name="framePossible" value="false" />
	<param name="showResetIcon" value="false" />
	<param name="showAnimationButton" value="true" />
	<param name="enableRightClick" value="true" />
	<param name="errorDialogsActive" value="true" />
	<param name="enableLabelDrags" value="true" />
	<param name="showMenuBar" value="false" />
	<param name="showToolBar" value="true" />
	<param name="showToolBarHelp" value="true" />
	<param name="showAlgebraInput" value="true" />
	<param name="useBrowserForJS" value="true" />
	<param name="allowRescaling" value="true" />
	<param name="ggbOnInitParam" value="java" />
Sorry, the GeoGebra Applet could not be started. Please make sure that Java 1.5 (or later) is installed and active in your browser (<a href="http://java.sun.com/getjava">Click here to install Java now</a>)
</applet>
 
<form style="margin-left: 40px;" name="inputform" onkeyup="numberentered()" action="" onsubmit="check();return false;" autocomplete="Off">Gradient = <span style="font-weight: bold;"></span> <input name="textfield" size="20" type="text"> <input value="Check" onclick="check();" type="button"> 
</form> 
<h2> 
Type 'u' for 'unbounded'
</h2>	  
 
<hr style="width: 100%; height: 2px;"><span style="font-size: small;">Created with <a href="http://www.geogebra.org/" target="_blank">GeoGebra</a> 
 
by Michael Borcherds, May 2008</span> </td> 
 
    </tr> 
 
  </tbody> 
</table> 

<script type="text/javascript"> 
	function ggbOnInit(str) {
	
		
		if (str+"" == "java") {
		alert("Java applet started");
		var javaApplet = document.javaApplet;
		
			javaApplet.registerAddListener("addListener");
			javaApplet.registerRemoveListener("listener");
			javaApplet.registerUpdateListener("addListener");
			javaApplet.registerRenameListener("listener");
			javaApplet.registerClearListener("listener");
			
		} else {
			alert("JavaScript applet started");
		}
	}
	
	function listener() {
	
		var applet = document.ggbApplet;
		var javaApplet = document.javaApplet;
		var xml = javaApplet.getXML();
		//applet.evalCommand("A = (1,1)");
		applet.setXML(xml);
	
	}
	function addListener(obj) {
	
		var applet = document.ggbApplet;
		var javaApplet = document.javaApplet;
		var command = javaApplet.getCommandString(obj);
		var value = javaApplet.getValueString(obj);
		if (command != "") {
		//alert(command);
			applet.evalCommand(obj +"="+command);
		} else {
		//alert(value);
			applet.evalCommand(value);
		}
	
	}
</script> 
 </body> 
</html> 